//
//  UIViewController+YYTransitioning.h
//  YYTransitionAnimation
//
//  Created by 袁培超 on 2024/3/26.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSUInteger, kTransitioningType) {
    kTransitioningTypePush    = 0,
    kTransitioningTypePresent = 1
};

@interface UIViewController (YYTransitioning)

- (void)yy_showViewController:(UIViewController *)viewControllerToShow
                   transitioning:(kTransitioningType)transitioningType
                     interacting:(BOOL)interacting
                      completion:(void (^ __nullable)(void))completion;

@end

NS_ASSUME_NONNULL_END
